import {Product} from "../entity/product";
import {Injectable} from "@angular/core";
import {Http} from "@angular/http";
/**
 * Created by Administrator on 2016/8/3.
 */

@Injectable()
export class ProductService{
    

    getAll():Product[]{
        let productList:Product[] = [
            {name:"test Product 1",price:100.0},
            {name:"test Product 2",price:101.0},
            {name:"test Product 3",price:102.0},
            {name:"test Product 4",price:103.0},
            {name:"test Product 5",price:104.0},
            {name:"test Product 6",price:105.0},
        ];
        return productList;
    }
    
}